﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NetDon.OA.Interface.Common
{
    public interface IAttachmentService
    {
        bool AddAttachmentInfo(List<AttachmentData> attachments);

        bool AddAttachmentInfo(AttachmentData attachment);

        bool ModifyAttachmentInfo(AttachmentData attachment);

        bool RemoveAttachmentInfo(Guid attachmentId);

        AttachmentData GetAttachmentById(Guid attachmentId);

        List<AttachmentData> GetAttachmentByBusinessId(string businessId);


    }
}
